package com.kate.aop.dao.impl;

import com.kate.aop.dao.UserDao;
import org.springframework.stereotype.Component;

@Component
public class UserDaoImpl implements UserDao {
    public int add(int a, int b) {
        int a2 = 10/0;
        //System.out.println("鉴权");
        System.out.println("调用add");
        //System.out.println("记录日志");
        return a+b;
    }
} 